package com.lou1052.data.repositories.db.mybatis;


/**
 * Created by liuqing on 2017/1/15.
 * @param <I> 主键
 * @param <E> 实体
 */

/**
 *
 * @param <I>
 * @param <E>
 */
public interface BaseMapper<I,E>{
    int deleteByPrimaryKey(I id);
    int insert(E record);
    int insertSelective(E record);
    E selectByPrimaryKey(I id);
    int updateByPrimaryKey(E record);
    int updateByPrimaryKeySelective(E record);
}
